package main

import "fmt"

func main() {
	arr1 := []int{1, 2, 3, 4}
	var p1 *[]int
	p1 = &arr1
	fmt.Println(p1)
	d := *p1
	d[1] = 200
	fmt.Println(arr1)

	(*p1)[2] = 100
	fmt.Println(arr1)
}
